.pagination {
  display: block;
}

.pagination .pagination-list {
  padding: 0;
  display: inline-block;
  margin-left: 240px;
}

.pagination .pagination-list li {
  list-style-type: none;
  display: inline-block;
  margin: 0 5px;
}

.pagination .pagination-list li a {
  color: #997542;
  font-size: 30px;
}

.pagination .pagination-list .active {
  background-color: #997542;
  border-radius: 10px;
}

.pagination .pagination-list .active a {
  color: #ffffff;
  padding: 3px 12px;
}

.pagination .pagination-list .previous a, .pagination .pagination-list .next a {
  font-size: 24px;
  line-height: 24px;
}

.pagination .pagination-form {
  display: inline-block;
  margin-left: 100px;
}

.pagination .pagination-form span {
  font-size: 24px;
  line-height: 24px;
  color: #aeaeae;
}

.pagination .pagination-form input {
  position: relative;
  top: -3px;
  border-radius: 10px;
  width: 60px;
  height: 30px;
  border: #aeaeae solid 1px;
  background-color: transparent;
  padding: 0px 5px;
}

.pagination .pagination-form input:focus {
  outline: none;
}

@media (max-width: 768px) {
  .pagination {
    display: block;
  }
  .pagination .pagination-list {
    padding: 0;
    display: inline-block;
    margin-left: 0px;
  }
  .pagination .pagination-list li {
    list-style-type: none;
    display: inline-block;
    margin: 0 5px;
  }
  .pagination .pagination-list li a {
    color: #997542;
    font-size: 12px;
  }
  .pagination .pagination-list .active {
    background-color: #997542;
    border-radius: 10px;
  }
  .pagination .pagination-list .active a {
    color: #ffffff;
    padding: 3px 12px;
  }
  .pagination .pagination-list .previous a, .pagination .pagination-list .next a {
    font-size: 14px;
    line-height: 18px;
  }
  .pagination .pagination-form {
    display: block;
    margin-left: 0px;
  }
  .pagination .pagination-form span {
    font-size: 14px;
    line-height: 14px;
    color: #aeaeae;
  }
  .pagination .pagination-form input {
    position: relative;
    top: 0px;
    border-radius: 10px;
    width: 40px;
    height: 20px;
    border: #aeaeae solid 1px;
    background-color: transparent;
    padding: 0px 5px;
  }
  .pagination .pagination-form input:focus {
    outline: none;
  }
}
